﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Deom04
{
    class Users
    {
        private string name;
        private string password;

        public string Name
        {
            get { return this.name; }
            set { this.name = value; }
        }
        public string Password
        {
            get { return this.password; }
            set { this.password = value; }
        }
        public void Hi ()
        {
            Console.WriteLine("用户名：{0}",this.name);
            Console.WriteLine("密码：{0}", this.password);
        }

    }
}
